<@html.doctype />
<html>
<@html.head>
	<link rel="stylesheet" type="text/css" href="../includes/styles/skins/Green/layout/css/layout_news.css" />
	<link rel="stylesheet" type="text/css" href="../includes/styles/skins/Green/component/css/text_cut.css" />	
	<script type="text/javascript" src="../includes/js/jsLayout/tishi.js"></script>
	
	<script type="text/javascript">
	$(function(){
	    $("#direct_submit").click(function(){
	        var currentPage = document.getElementById("currentPage").value;
	        var patrn = /^[0-9]+$/;
	        if (!patrn.test(currentPage)) {
	            $("#direct_tip").html("请输入正确数字");
	            return false;
	        }
	        return true;
	    })
	})
	</script>

</@html.head>
<body>

<@html.header>
	<!--请不要在此处添加内容-->
</@html.header>

<@html.content>
	<!--请在此处添加页面内容-->
	<div id="content">
	<@html.contentplace place="孵化导航-》${title}" />
	<div id="news_content">
        <div id="news_left_content">
	        <#list articlelist as article>
	            <div class="news_box">
	                <div class="news_title">
	                    <div class="news_title_con">
	                        <p class="title_one">
	                            <a href="#">${article.articleTitle}</a></p>
	                        <p>
	                            <a href="#">作者：${article.publisherName}</a> / <a href="#">主题：${article.articleTopic.artTopicName}</a> / <a href="#">访问量：${article.visitNum}</a> / <a href="#">发布时间：${article.pubTime}</a></p>
	                    </div>
	                </div>
	                <div class="news_con">
	                    <div class="text_nopic">
	                        <p>
							${article.partialContent}
	                        </p>
	                    </div>
	                    <div class="news_con_footer">
	                        <p class="more">
	                           <a href="${base}/hatchnav/showarticledetail.action?articleID=${article.articleID}&visitNumAdd=1"> 阅读全文</a></p>
	                    </div>
	                </div>
	            </div>
	        </#list>
			
			<div align="center">
				<#if (pager.totalRows>0)>
					共<font color="red">${pager.totalRows}</font>篇文章
					共<font color="red">${pager.totalPages}</font>页
					当前第<font color="red">${pager.currentPage}</font>页
					<#if pager.totalPages==1>
						<a href="#" class="page_first">首页</a> 
						<a href="#" class="page_null">上一页</a>
						<a href="#" class="page_txt">下一页</a> 
						<a href="#" class="page_first">尾页</a>
					</#if>					    
					<#if pager.currentPage==1&&pager.totalPages!=1>
						<a href="#" class="page_first">首页</a> 
						<a href="#" class="page_null">上一页</a>
						<a href="${base}/hatchnav/hotcomment.action?pageMethod=next&currentPage=${pager.currentPage}" class="page_txt">下一页</a> 
						<a href="${base}/hatchnav/hotcomment.action?pageMethod=last" class="page_first">尾页</a>
					</#if>					    
					<#if pager.currentPage==pager.totalPages&&pager.totalPages!=1>
						<a href="${base}/hatchnav/hotcomment.action?pageMethod=first" class="page_first">首页</a> 
						<a href="${base}/hatchnav/hotcomment.action?pageMethod=previous&currentPage=${pager.currentPage}" class="page_null">上一页</a>
						<a href="#" class="page_txt">下一页</a> 
						<a href="#" class="page_first">尾页</a>
					</#if>					    
					<#if pager.currentPage!=pager.totalPages&&pager.currentPage!=1>
						<a href="${base}/hatchnav/hotcomment.action?pageMethod=first" class="page_first">首页</a> 
						<a href="${base}/hatchnav/hotcomment.action?pageMethod=previous&currentPage=${pager.currentPage}" class="page_null">上一页</a>
						<a href="${base}/hatchnav/hotcomment.action?pageMethod=next&currentPage=${pager.currentPage}" class="page_txt">下一页</a> 
						<a href="${base}/hatchnav/hotcomment.action?pageMethod=last" class="page_first">尾页</a>
					</#if>
					<form action="${base}/hatchnav/hotcomment.action" id="form" method="post"  name="form">
						<input name="currentPage" id="currentPage" type="text" class="small" value="" size="2" />
						<input name="submit" id="direct_submit" type="submit" class="submit" value="跳转"/>
						<font class="tip"><span id="direct_tip"></font>
					</form>
				</#if>
				<#if (pager.totalRows<1)><h1>暂无评论</h1>
                </#if>
			</div>
		
        </div>
        <div id="news_right_content">
            <div id="news_search">
                <form action="1.php" id="news_form">
                <input type="text" name="search" id="search_1" placeholder="搜索新闻">
                <input type="submit" name value=" " id="search_2">
                </form>
            </div>
            <div id="news_tags">
                <div id="tags_title">
                    <p>
                        热门文章</p>
                </div>
                <div id="tags_con">
                    <ul class="tishi">
                        <#list articleTopList as article>
                        <li><a href="${base}/hatchnav/showarticledetail.action?articleID=${article.articleID}" title="header=[Top5文章] body=[文章标题：${article.articleTitle}<br>访问量：${article.visitNum}<br>发布时间：${article.pubTime}<br><br>]">${article.articleTitle}</a></li>
                        </#list>
                    </ul>
                </div>
            </div>
            <div id="news_cat">
                <div id="cat_title">
                    <p>
                        功能分类</p>
                </div>
                <div id="cat_con">
                    <ul>
                    	<li><a href="${base}/hatchnav/topubarticle.action">发布文章 +</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    </div>
</@html.content>

<@html.bottom>
	<!--请不要在此处添加内容-->
</@html.bottom>

</body>
</html>